layui.use([
	'layer',
	'form',
	'carousel',
	'exconfig',
	'exrouter',
	'exutil',
	'jquery',
	'sysUser',
	'sysMenu'
], function() {

	var layer = layui.layer,
		form = layui.form,
		carousel = layui.carousel,
		exconfig = layui.exconfig,
		exrouter = layui.exrouter,
		exutil = layui.exutil,
		sysUser = layui.sysUser,
		sysMenu = layui.sysMenu,
		$ = layui.$;

	var datas = {
		isRemember: false
	};

	var elms = {
		openBtn: $('#btn')

	};

	var methods = {

	};

	// methods.init();

	elms.openBtn.on('click', function(e) {
		var index = exutil.open({
			title: '当你选择该窗体时，即会在最顶端',
			area: ['800px', '400px'],
			type: 2,
			content: 'https://www.baidu.com',
			btn: ['确认', '全部关闭'],
			yes: function(){
				exutil.updateWinPage()
			},
			
		});

		console.log(index);
	});
});
